package com.example.t10v32;

public class Student {
    private String name;
    private int course;
    private double averageGrade;

    public Student(String name, int course, double averageGrade) {
        this.name = name;
        this.course = course;
        this.averageGrade = averageGrade;
    }

    public double getAverageGrade() {
        return averageGrade;
    }

    public int getCourse()
    {
        return course;
    }
    @Override
    public String toString() {
        return name + " " + averageGrade + " " + course;
    }
}
